<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="../skin/style.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
<link href="{SKIN_PATH}modal.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="images/js/jqModal.js"></script>
</head>
<body>

{template 'header.html'}

<div class="container">
	
    <div class="aside">
    	{template "left.html","ask"}
    </div>
    
    <div class="main">
    	<p><strong>当前位置：</strong><a href="{$MODULE[member][url]}">会员中心</a><a href="{$M[url]}center.php">问吧</a>修改提问</p>
        
    	{if $job=='ask'}
        <div class="head">修改提问</div>
        <form action="" method="post" name="myform">
        <table width="98%" cellpadding="0" cellspacing="1" class="table"> 
          <tr>
            <th>您的问题</th>
            <td><input type="text" name="info[title]" id="title" value="{$title}"></td></tr>
            <tr>
            <th>问题补充</th>
            <td>
            <textarea name="posts[message]" rows="9" cols="60" id="message">{$message}</textarea>
            {if $M[use_editor]}{form::editor('message','introduce','100%',200,0)}{/if}
            </td>
          </tr>
          <tr>
            <td></td>
            <td>
            <input type="hidden" name="id" value="{$id}"/>
            <input type="hidden" name="action" value="edit"/>
            <input type="hidden" name="forward" value="{$forward}"/>
            <input type="submit" name="dosubmit" id="button" value=" 更 新 " /></td>
          </tr>
        </table>
        </form>
        {else}
        <div class="head">修改答案</div>
        <form action="" method="post" name="myform">
        <table cellpadding="0" cellspacing="0" class="table"> 
          <tr>
            <tr>
            <th>答案</th>
            <td><textarea name="posts[message]" rows="9" cols="60" id="message">{$message}</textarea>
            {if $M[use_editor]}{form::editor('message','introduce','100%',200,0)}{/if}
            </td>
          </tr>
          <tr>
            <td></td>
            <td >
            <input type="hidden" name="id" value="{$id}"/>
            <input type="hidden" name="action" value="edit"/>
            <input type="hidden" name="forward" value="{$forward}"/>
            <input type="submit" name="dosubmit" id="button" value=" 更 新 " /></td>
          </tr>
        </table>
        </form>
        {/if}
        
        <div class="head">提示信息</div>
        <table cellpadding="0" cellspacing="0" class="table"> 
          <tr>
            <td> 为了让您的提问被更多人关注，以获得最佳的回答，您可以一次追加悬赏20分以上（含20分），<br/> 
    将问题在分类下的“待解决”问题列表中显示为最新，类似于新提出的问题 
    <br/>
            </td>
          </tr>
        </table>
    </div>
</div>

 
{template 'footer.html'}